#include<stdio.h>
#include<conio.h>
void main()
{
	int oth, otm = 0;


	clrscr();

	printf("\n\n\t\tPlease Enter the Total Over Time Hour: ");
	scanf("%d", &oth);
	while(oth > 40)
	{
		oth = oth - 40;           //oth is the overtime hour

		otm = 10 * oth * 12;     //otm is the overtime money
	}
	printf("\n\n\t\tTotal Over Time Money = Rs %d.", otm);

	getch();
}